package com.clotingshoppos.modules.menber;

import com.clotingshoppos.common.base.BaseEntity.BaseEntity;

import javax.persistence.*;

/**
 * @ClassName: MemberEntity
 * @Description:
 * @Author: zhandad
 * @Date: 2019-03-25 10:20
 * @Version: v1.0
 */
@Entity
@Table(name = "member", schema = "clothing_shop_pos", catalog = "")
public class MemberEntity extends BaseEntity {
    private String name;
    private Integer phone;
    private String birth;
    private Integer points;

    @Basic
    @Column(name = "name", nullable = true, length = 10)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "phone", nullable = true)
    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    @Basic
    @Column(name = "birth", nullable = true, length = 16)
    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    @Basic
    @Column(name = "points", nullable = true)
    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }


}
